package psn.kiko.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;

/**
 * 处理器路径放行与拦截配置
 */
@ConfigurationProperties(prefix = "login.path")
@Component
@Data
public class LoginInterceptProperties{
	/**
	 * 管理端-拦截的路径
	 */
	private ArrayList<String> adminIncludePaths;
	/**
	 * 管理端-放行的路径
	 */
	private ArrayList<String> adminExcludePaths;
	/**
	 * 用户端-拦截的路径
	 */
	private ArrayList<String> userIncludePaths;
	/**
	 * 用户端-放行的路径
	 */
	private ArrayList<String> userExcludePaths;
}
